package com.lzh.persevere.model.ro.comment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "LikeCommentRO")
public class LikeCommentRO {

    @NotNull(message = "评论ID不能为空")
    @ApiModelProperty(value = "评论ID")
    private Long commentId;

    @NotNull(message = "点赞状态不能为空")
    @ApiModelProperty(value = "点赞/取消点赞：true点赞 false取消点赞")
    private Boolean isLike;
}
